@extends('layouts.master')

@section('title')
    视频管理——木投网商城管理后台
@stop

@section('app_css')
    <link href="/resource/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/resource/css/style.css">
    <link rel="stylesheet" href="/resource/css/dataTables.bootstrap.css">
    <link rel="stylesheet" href="/resource/css/fileinput.min.css">
@stop

@section('app_js')
    <script src="/resource/js/jquery-1.11.3.min.js"></script>
    <script src="/resource/js/bootstrap.min.js"></script>
    <script src="/resource/js/jquery.twbsPagination.js"></script>
    <script src="/resource/js/date.js"></script>
    <script src="/resource/js/fileinput.min.js"></script>
    <script src="/resource/js/fileinput_locale_zh.js"></script>
@stop


@section('content')
    @include('common.nav')
<div class="container-fluid">
    <div class="row" id="navLeft">
        @include('common.service_nav')
        <div class="col-lg-10">
            <div class="navbottom">
              <span>您的位置：</span>其他 > 视频管理
            </div>
            <div class="contentNav">
              <ul>
                <li>其他</li>
                <li class="btn btn-default"><a href="/show_video">列表</a></li>
                <li class="btn btn-default active"><a href="/add_video">新增</a></li>
              </ul>
            </div>
            <hr>
            <div class="contentMember_new">
                {{ Form::open(['url'=>'/add_supplier' ,'files' => true, 'method' => 'post']) }}
                <table class="table table-hover">
                  <tbody>
                    <tr>
                      <th>视频名称</th>
                    </tr>
                    <tr class="newBorder_top">
                      <th>
                        <input type="text" class="input-small form-control" name="video_name">
                      </th>
                    </tr>
                    <tr>
                      <th>时长</th>
                    </tr>
                    <tr class="newBorder_top">
                      <th>
                        <input type="text" class="input-small form-control" name="take_time">
                      </th>
                    </tr>
                    <tr>
                      <th>上传视频</th>
                    </tr>
                    <tr class="newBorder_top">
                      <th>
                        <input id="input-id" type="file" class="file" data-preview-file-type="text" name="video_url">
                      </th>
                    </tr>
                  </tbody>
                </table>
                  <button type="submit" class="btn btn-default">提交</button>
                  {{ Form::close() }}
            </div>
        </div>
    </div>
</div>
@stop